import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity('reward_success')
export class RewardSuccess {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'video_id' })
  video_id: number;

  @Column({ name: 'wx_user' })
  wx_user: string;

  @Column({ name: 'pay_time' })
  pay_time: Date;

  @Column({ name: 'unit_price' })
  unit_price: number;

  @Column({ name: 'service_charge' })
  service_charge: number;

  @Column({ name: 'pay_order' })
  pay_order: string;
}
